package com.itzxx.huazhun.ui.collection

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
import com.itzxx.huazhun.databinding.FragmentCollectionBinding
import com.itzxx.library_base_ktx.base.fragment.BaseVmDbFragment

class CollectionFragment : BaseVmDbFragment<CollectionViewModel,FragmentCollectionBinding>() {

    override fun initView(savedInstanceState: Bundle?) {

    }

    override fun lazyLoadData() {

    }


    override fun createObserver() {

        //选中设备
        mViewModel.run {
            bleDeviceCheckLiveData.observe(this@CollectionFragment){
            }
        }
    }

    override fun databind2ViewModel() {
        super.databind2ViewModel()
        mDatabind.viewmodel = mViewModel
    }

    override fun isApplyDefaultWaitDialog(): Boolean {
        return true
    }
}